package com.lobstar.xrpc.example;

import com.lobstar.xrpc.server.main.MainServer;

public class SimpleServer {

	public static void main(String[] args) throws Exception{

		//ServerConfiguration.setProperty(ServerConfiguration.SCAN_PACKAGE, "com.lobstar");

		//ServiceInvoker.getInvoker();
		MainServer server = MainServer.build(20002,"com.lobstar.invoker.example.services");
		//相关参数


		server.blockStart();


		//server.close();
	}
}
